function encrypt(data) {
    var key = CryptoJS.enc.Latin1.parse('kfgiHhru86Kdi38f');
    var iv = CryptoJS.enc.Latin1.parse('kfgiHhru86Kdi38f');
    return CryptoJS.AES.encrypt(data, key, {
        iv: iv,
        mode: CryptoJS.mode.CBC,
        padding: CryptoJS.pad.ZeroPadding
    }).toString();
}